
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '财务结算信息',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'yhbh_9271eeb9_619c',
        name: "{{yhbh_9271eeb9_619c}}",
        binding: 'yhbh',
        updateOn: 'blur',
        defaultI18nValue: '银行编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    yhbh: FormControl;

    @NgFormControl({
        id: 'yhmc_57766e08_ej25',
        name: "{{yhmc_57766e08_ej25}}",
        binding: 'yhmc',
        updateOn: 'blur',
        defaultI18nValue: '银行名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    yhmc: FormControl;

    @NgFormControl({
        id: 'yhbz_e544edf8_f00w',
        name: "{{yhbz_e544edf8_f00w}}",
        binding: 'yhbz',
        updateOn: 'blur',
        defaultI18nValue: '银行备注',
    })
    yhbz: FormControl;

}